package com.web.my12306.pojo;

import java.sql.Timestamp;

/**
 * 郭明亮
 * 通过组件添加
 * ‎2017‎年‎9‎月‎12‎日 10:22
 */
public class Orders {

  private int oid;//订单id
  private String onumber;//订单编号
  private int uid;//用户id
  private String trainno;//车次
  private java.sql.Timestamp departure_time;//列车出发时间
  private java.sql.Timestamp sell_time;//用户购买时间
  private java.sql.Timestamp arrival_time;//预计到达时间
  private String dstation;//始发站
  private String terminal;//终点站
  private double price;//票价
  private int carriage;//车厢号
  private String seatno;//座位号
  private int state;//订单状态（1，未付款2，已付款3，已退款4，已取票）
  private int sid;
  private int tid;

  public int getOid() {
    return oid;
  }

  public void setOid(int oid) {
    this.oid = oid;
  }


  public String getOnumber() {
    return onumber;
  }

  public void setOnumber(String onumber) {
    this.onumber = onumber;
  }


  public int getUid() {
    return uid;
  }

  public void setUid(int uid) {
    this.uid = uid;
  }


  public String getTrainno() {
    return trainno;
  }

  public void setTrainno(String trainno) {
    this.trainno = trainno;
  }


  public java.sql.Timestamp getDeparture_time() {
    return departure_time;
  }

  public void setDeparture_time(java.sql.Timestamp departure_time) {
    this.departure_time =departure_time;
  }


  public java.sql.Timestamp getSell_time() {
    return sell_time;
  }

  public void setSell_time(java.sql.Timestamp sell_time) {
    this.sell_time = sell_time;
  }

  public Timestamp getArrival_time() {
    return arrival_time;
  }

  public void setArrival_time(Timestamp arrival_time) {
    this.arrival_time = arrival_time;
  }

  public String getDstation() {
    return dstation;
  }

  public void setDstation(String dstation) {
    this.dstation = dstation;
  }


  public String getTerminal() {
    return terminal;
  }

  public void setTerminal(String terminal) {
    this.terminal = terminal;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public int getCarriage() {
    return carriage;
  }

  public void setCarriage(int carriage) {
    this.carriage = carriage;
  }


  public String getSeatno() {
    return seatno;
  }

  public void setSeatno(String seatno) {
    this.seatno = seatno;
  }


  public int getState() {
    return state;
  }

  public void setState(int state) {
    this.state = state;
  }

  public int getSid()
  {
    return sid;
  }

  public void setSid(int sid)
  {
    this.sid = sid;
  }

  public int getTid()
  {
    return tid;
  }

  public void setTid(int tid)
  {
    this.tid = tid;
  }
}
